/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.ts.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author wwj
 * @date 2021-3-18
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveExaminationQuestionOptionRequest {

	/**
	 * 选项，例如A, B, C | 对，错
	 */
	@NotBlank @Length(max=1)
	private String opt;
	/**
	 * 选项内容
	 */
	@NotBlank @Length(max=1000)
	private String content;

}
